home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / Libraries / tcl7.4b3 / doc / pid.n < prev    next >
Encoding:
Text File  |  1994-12-17  |  1.1 KB  |  35 lines

  1. '\"
  2. '\" Copyright (c) 1993 The Regents of the University of California.
  3. '\" Copyright (c) 1994 Sun Microsystems, Inc.
  4. '\"
  5. '\" See the file "license.terms" for information on usage and redistribution
  6. '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  7. '\" 
  8. '\" @(#) pid.n 1.2 94/12/17 16:18:36
  9. '\" 
  10. .so man.macros
  11. .HS pid tcl 7.0
  12. .BS
  13. '\" Note:  do not modify the .SH NAME line immediately below!
  14. .SH NAME
  15. pid \- Retrieve process id(s)
  16. .SH SYNOPSIS
  17. \fBpid \fR?\fIfileId\fR?
  18. .BE
  19.  
  20. .SH DESCRIPTION
  21. .PP
  22. If the \fIfileId\fR argument is given then it should normally
  23. refer to a process pipeline created with the \fBopen\fR command.
  24. In this case the \fBpid\fR command will return a list whose elements
  25. are the process identifiers of all the processes in the pipeline,
  26. in order.
  27. The list will be empty if \fIfileId\fR refers to an open file
  28. that isn't a process pipeline.
  29. If no \fIfileId\fR argument is given then \fBpid\fR returns the process
  30. identifier of the current process.
  31. All process identifiers are returned as decimal strings.
  32.  
  33. .SH KEYWORDS
  34. file, pipeline, process identifier
  35.